package com.wpml.coupon.entity;

  

import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 商品spu积分设置 实体类
 * @author wangpei
 * @since 2020-04-07 12:18:35
 */
@Data
@ToString
@Accessors(chain = true)
@TableName("sms_spu_bounds")
public class SpuBoundsModel implements Serializable {
    private static final long serialVersionUID = -27997178648906479L;

    @TableId
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("${column.comment}")
    private Long spuId;

    @ApiModelProperty("成长积分")
    private Double growBounds;

    @ApiModelProperty("购物积分")
    private Double buyBounds;

    @ApiModelProperty("优惠生效情况[1111（四个状态位，从右到左）;0 - 无优惠，成长积分是否赠送;1 - 无优惠，购物积分是否赠送;2 - 有优惠，成长积分是否赠送;3 - 有优惠，购物积分是否赠送【状态位0：不赠送，1：赠送】]")
    private Integer work;


}